#coding=utf-8
# while True:
#     reply = raw_input('Enter text:')
#     if reply == 'stop':break
#     print (reply.upper())
# print 'Bye'
#
# while True:
#     reply = raw_input('Enter text: ')
#     if reply == 'stop':
#         break
#     elif not reply.isdigit():
#         print ('Bad!' * 8)
#     else:
#         print(int(reply) ** 2)
# print('Bye')

# while True:
#     reply = raw_input('Enter text: ')
#     if reply == 'stop':break
#     try:
#         num = int(reply)
#         print num
#     except:
#         print ('Bad!' * 8)
#     else:
#         print (int(reply) ** 2)
# print ('Bye')

# str1 = 'spam'
# a,b,c,d = str1
# print a,d
#
# a,b,c = str1[0], str1[1], str1[2]
# print a, b, c
#
#
# a, b, c = list(str1[:2]) + [str1[2:]]
# print a, b, c

x = 1
y = 5
import sys
sys.stdout = open('log.txt','a')
sys.stdout.write(str(x) + ' ' + str(y) +  '\n')
sys.stdout.close()
